package com.designpatterns.creational.abstractfactory;

import com.designpatterns.utils.XMLUtil;

public class Client {
    public static void main(String[] args) {
        SkinFactory factory = (SkinFactory) XMLUtil.getBean("D:\\Project\\designparttern\\src\\main\\java\\com\\designpatterns\\creational\\abstractfactory\\config.xml");
        factory.createButton().display();
        factory.createComboBox().display();
        factory.createTextField().display();
    }
}
